On the Complexity of Membership and Counting in Height-Deterministic Pushdown Automata

نویسندگان

  • Nutan Limaye
  • Meena Mahajan
  • Antoine Meyer
چکیده

Visibly pushdown languages properly generalise regular languages and are properly contained in deterministic context-free languages. The complexity of their membership problem is equivalent to that of regular languages. However, the corresponding counting problem – computing the number of accepting paths in a visibly pushdown automaton – could be harder than counting paths in a non-deterministic finite automaton: it is only known to be in LogDCFL. We investigate the membership and counting problems for generalisations of visibly pushdown automata, defined using the notion of height-determinism. We show that, when the stack-height of a given pushdown automaton can be computed using a finite transducer, both problems have the same complexity as for visibly pushdown languages. We also show that when allowing pushdown transducers instead of finite-state ones, both problems become LogDCFL-complete; this uses the fact that pushdown transducers are sufficient to compute the stack heights of all real-time height-deterministic pushdown automata, and yields a candidate arithmetization of LogDCFL that is no harder than LogDCFL (our main result).

منابع مشابه

Height-Deterministic Pushdown Automata

We define the notion of height-deterministic pushdown automata, a model where for any given input string the stack heights during any (nondeterministic) computation on the input are a priori fixed. Different subclasses of height-deterministic pushdown automata, strictly containing the class of regular languages and still closed under boolean language operations, are considered. Several such lan...

متن کامل

Removing Nondeterminism in Constant Height Pushdown Automata

We study the descriptional cost of removing nondeterminism in constant height pushdown automata — i.e., pushdown automata with a built-in constant limit on the height of the pushdown. We show a double-exponential size increase when converting a constant height nondeterministic pushdown automaton into an equivalent deterministic device. Moreover, we prove that such a double-exponential blow-up c...

متن کامل

The Size-Cost of Boolean Operations on Constant Height Deterministic Pushdown Automata

We study the size-cost of boolean operations on constant height deterministic pushdown automata. We prove an asymptotically optimal exponential blow-up for union and intersection, as well as polynomial blow-up for complement.

متن کامل

Notes on Counting with Finite Machines

We determine the descriptional complexity (smallest number of states, up to constant factors) of recognizing languages {1} and {1 : t = 0, 1, 2, . . .} with state-based finite machines of various kinds. This task is understood as counting to n and modulo n, respectively, and was previously studied for classes of finite-state automata by Kupferman, Ta-Shma, and Vardi (2001). We show that for Tur...

متن کامل

A Note on the P-completeness of Deterministic One-way Stack Language

The membership problems of both stack automata and nonerasing stack automata are shown to be complete for polynomial time.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

متن کامل
عنوان ژورنال:
  • Journal of Automata, Languages and Combinatorics

دوره 14  شماره 

صفحات  -

تاریخ انتشار 2008